package com.bdcom.autotest.telnet.model;

public class UpgradeROMObj extends TelnetCMDObj {
    public String tftpIP;
    public String srcFile;

    public String getTftpIP() {
        return tftpIP;
    }

    public void setTftpIP(String tftpIP) {
        this.tftpIP = tftpIP;
    }

    public String getSrcFile() {
        return srcFile;
    }

    public void setSrcFile(String srcFile) {
        this.srcFile = srcFile;
    }


    public String buidCMD(){
      //copy tftp:G20008045482.bin rom 192.168.0.100
        StringBuilder builder=new StringBuilder();
        builder.append("copy tftp:").append(srcFile).append(" rom ").append(tftpIP);
        return builder.toString();
    }


}
